menu: Realize window before positioning
authorBenjamin Otte <otte@redhat.com>
Wed, 25 May 2011 02:48:20 +0000 (04:48 +0200)
committerBenjamin Otte <otte@redhat.com>
Wed, 25 May 2011 02:48:20 +0000 (04:48 +0200)
commit067dc19177c6aa4cdfbe9c166cc2e6c961d1e4fc
treee4b4a1cea9e32b36cca385a131936d8c3dfa9279
parent8cfcb2c1235e03690a95e03d65152b1e9e1af45d
menu: Realize window before positioning

We want the menu realized so we know the size it's allocating to itself.
And we need that size to position the menu properly.
This is best visible on right-to-left.
gtk/gtkmenu.c